package  com.mdp.workflow.de.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 组织 com.mdp  顶级模块 workflow 大模块 de  小模块 ModelRelation<br>
 */
@Data
@TableName("act_de_model_relation")
@ApiModel(description="act_de_model_relation")
public class ModelRelation  implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.ASSIGN_ID)
	@TableField("id")
	@ApiModelProperty(notes="id,主键",allowEmptyValue=true,example="",allowableValues="")
	String id;

	@TableField("parent_model_id")
	@ApiModelProperty(notes="parent_model_id",allowEmptyValue=true,example="",allowableValues="")
	String parentModelId;

	@TableField("model_id")
	@ApiModelProperty(notes="model_id",allowEmptyValue=true,example="",allowableValues="")
	String modelId;

	@TableField("relation_type")
	@ApiModelProperty(notes="relation_type",allowEmptyValue=true,example="",allowableValues="")
	String relationType;

	/**
	 *id
	 **/
	public ModelRelation(String id) {
		this.id = id;
	}
    
    /**
     * act_de_model_relation
     **/
	public ModelRelation() {
	}

}